package com.ruoyi.project.lely.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Desc: TODO
 * @Author LuoYong
 * @Date 2022/1/12 15:39
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "学生VO")
public class StudentVo {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("爱好（0代码 1音乐 2电影）")
    private String hobby;

    @ApiModelProperty("性别 0=男,1=女,2=未知")
    private String sex;

    @ApiModelProperty("状态 0=正常,1=停用")
    private String status;

    @ApiModelProperty("生日 yyyy-MM-dd")
    private LocalDate birthday;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;
}
